<?php
namespace App\Http\ViewComposers\Buz;

use App\Models\PlatUser;
use Illuminate\View\View;

class AuthComposer
{
    public function compose(View $view)
    {
        $user = \Session::get('user');
        $user = PlatUser::find($user->id);
        $view->with(compact('user'));
    }
}
